package cn.gson.crmdemo.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.pojo.Emp;
import cn.gson.crmdemo.model.pojo.FunctionType;

@Mapper
public interface MenuMapper {
	//查询所有一级功能
	public List<FunctionType> selectFuntionAll(Integer empId);
	public List<Integer> selectFuntionEmployee(@Param("empId")Integer empId,@Param("employeeId")Integer employeeId);
	//查询某员工最近十篇日志
	public JSONArray selectJournal(Integer empId);
}
